Text File | 1998-09-25 | 617 b | 20 lines | [TEXT/ttxt]
DropEncoder Read Me
DropEncoder reads a text file, attempts to determine the encoding, and then converts it to the equivalent MacOS encoding. In this sample code, the locale of verJapan and encoding of kTextEncodingMacJapanese are assumed.
Two sample files are provided:
//www.yahoo.co.jp/ --- It's encoding is EUC_JP
w_index.html --- It's encoding is Shift JIS
Both files will get converted to MacOS Japanese.
To compile the application you will require:
TEC 1.3 SDK or newer
CodeWarrior Pro 2.1
Modifications to the project required:
Add a path to the Stub Libraries folder in the SDK.